import {inject} from '@loopback/core';
import {juggler, AnyObject} from '@loopback/repository';
import * as config from './mysql-local.datasource.json';

export class MysqlLocalDataSource extends juggler.DataSource {
  static dataSourceName = 'mysqlLocal';

  constructor(
    @inject('datasources.config.mysqlLocal', {optional: true})
      dsConfig: AnyObject = config,
  ) {
    super(dsConfig);
  }
}
